package com.springboot.cms.footer.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.springboot.common.annotation.Excel;
import com.springboot.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 网站页脚对象 cms_footer
 *
 * @author lhxz
 * @date 2024-07-06
 */
public class CmsFooter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 版权归属 */
    @Excel(name = "版权归属")
    private String warner;

    /** 网站备案号 */
    @Excel(name = "网站备案号")
    private String icp;

    /** 字体大小 */
    @Excel(name = "字体大小")
    private Integer fontSize;

    /** 字体颜色 */
    @Excel(name = "字体颜色")
    private String fontColor;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setWarner(String warner)
    {
        this.warner = warner;
    }

    public String getWarner()
    {
        return warner;
    }
    public void setIcp(String icp)
    {
        this.icp = icp;
    }

    public String getIcp()
    {
        return icp;
    }
    public void setFontSize(Integer fontSize)
    {
        this.fontSize = fontSize;
    }

    public Integer getFontSize()
    {
        return fontSize;
    }
    public void setFontColor(String fontColor)
    {
        this.fontColor = fontColor;
    }

    public String getFontColor()
    {
        return fontColor;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("warner", getWarner())
                .append("icp", getIcp())
                .append("fontSize", getFontSize())
                .append("fontColor", getFontColor())
                .append("startTime", getStartTime())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }

}
